Foxit PDF SDK
FoxitPDFSDKPython3.TreeItemInfo Class Reference

Inherits FoxitPDFSDKPython3._object.

Public Member Functions

def TreeItemInfo ()
 Constructor.
More...
 
def Set (type, order_index, page_index, text, rect)
 Set value.
More...
 

Static Public Attributes

 order_index = _fsdk.TreeItemInfo_order_index
 The order index of item, beginning from 0.

 
 page_index = _fsdk.TreeItemInfo_page_index
 The page index of selected item. Valid range: from 0 to (count-1). count is returned by function FoxitPDFSDKPython3.PDFDoc.GetPageCount .

 
 rect = _fsdk.TreeItemInfo_rect
 The rect of page content item.

 
 text = _fsdk.TreeItemInfo_text
 The text of item, shown in UI.

 
 type = _fsdk.TreeItemInfo_type
 The type of item content. Please refer to values starting from FoxitPDFSDKPython3.e_ContentTypeUnknown and this should be one of these values.

 

Detailed Description

This class represents data used for reading order tree item info.

Constructor & Destructor Documentation

◆ TreeItemInfo()

def FoxitPDFSDKPython3.TreeItemInfo.TreeItemInfo ( )

Constructor.

Constructor, with another reading order tree item info object.

Parameters
[in]otherAnother reading order tree item info object.
[in]typeThe content type. Please refer to values starting from FoxitPDFSDKPython3.e_ContentTypeUnknown and this should be one of these values.
[in]order_indexThe order index.
[in]page_indexThe page index. Valid range: from 0 to (count-1). count is returned by function FoxitPDFSDKPython3.PDFDoc.GetPageCount .
[in]textThe item text.
[in]rectThe rectangle.
Returns
None.

Member Function Documentation

◆ Set()

def FoxitPDFSDKPython3.TreeItemInfo.Set (   type,
  order_index,
  page_index,
  text,
  rect 
)

Set value.

Parameters
[in]typeThe content type. Please refer to values starting from FoxitPDFSDKPython3.e_ContentTypeUnknown and this should be one of these values.
[in]order_indexThe order index.
[in]page_indexThe page index. Valid range: from 0 to (count-1). count is returned by function FoxitPDFSDKPython3.PDFDoc.GetPageCount .
[in]textThe item text.
[in]rectThe rectangle.
Returns
None.